<?php
/**
 * jishupu-cms
 * @Author:技术铺<jishupu@qq.com>
 * @Date: 2022/3/16
 */

namespace App\Services;

use Illuminate\Support\Facades\Artisan;

/**
 * 路由数据服务
 *
 * Class RouteService
 * @package App\Services
 */
class RouteService
{
    /**
     * 更新前台路由缓存
     */
    static function updateRouteCache()
    {
        Artisan::call('route:cache');
    }
}
